use crate::config::native_version_config::NativeVersionConfig;
use crate::core::entity::jump_url::JumpUrl;
use crate::core::entity::native_version_pair::NativeVersionPair;
use serde::{Deserialize, Serialize};
use share::core::channel::Channel;
use share::core::native_version::NativeVersion;
use std::collections::HashMap;

#[derive(Serialize, Deserialize, Debug)]
pub struct ChannelConfig {
    pub channel: Channel,
    pub native_version: NativeVersionPair,
    pub jump_url: JumpUrl,

    pub hot_update_settings: HashMap<NativeVersion, NativeVersionConfig>,
}
